﻿@model CommerceOne.Widgets.PagingAndSortingNav.PagingSortingNavViewModel

<div>
    <ul>
        @foreach (var item in Model.PaginationList)
        {
            if (item.IsCurrentSelected)
            {
                <li style="float: right; border: 1px solid #CCCCCC; margin 2px; background-color:Black; color:White;"><a href="@item.LinkUrl">@item.LinkText</a></li>
            }
            else
            {
                <li style="float: right; border: 1px solid #CCCCCC; margin 2px;"><a href="@item.LinkUrl">@item.LinkText</a></li>
            }
        }
        <li style="clear:both;"></li>
    </ul>
</div>